WOLF core
WOLF: A Modular Estimation Framework for Robotics
XXXXXXXXXXXXXXXXXXXXXXXXvoid(0)" frameborder="0" name="MSearchResults" id="MSearchResults">
wolf::IterationUpdateCallback Class Reference

Ceres iteration callback that stops the solver (after a minimum number of iterations) if the wolf problem changed. More...

#include <core/ceres_wrapper/iteration_update_callback.h>

Inheritance diagram for wolf::IterationUpdateCallback:
[legend]

Public Member Functions

 IterationUpdateCallback (ProblemPtr _problem, const int &min_num_iterations, bool verbose=false)
 Constructor from the problem and the minimum number of iterations. More...
 
 ~IterationUpdateCallback ()
 Destructor. More...
 
ceres::CallbackReturnType operator() (const ceres::IterationSummary &summary) override
 Stops the solver if the problem has pending notifications: successfully if the cost decreased, aborting otherwise. More...
 

Detailed Description

Ceres iteration callback that stops the solver (after a minimum number of iterations) if the wolf problem changed.

Constructor & Destructor Documentation

◆ IterationUpdateCallback()

wolf::IterationUpdateCallback::IterationUpdateCallback ( ProblemPtr  _problem,
const int &  min_num_iterations,
bool  verbose = false 
)
inlineexplicit

Constructor from the problem and the minimum number of iterations.

◆ ~IterationUpdateCallback()

wolf::IterationUpdateCallback::~IterationUpdateCallback ( )
inline

Destructor.

Member Function Documentation

◆ operator()()

ceres::CallbackReturnType wolf::IterationUpdateCallback::operator() ( const ceres::IterationSummary &  summary)
inlineoverride

Stops the solver if the problem has pending notifications: successfully if the cost decreased, aborting otherwise.


The documentation for this class was generated from the following file: